import axios from 'axios';


//视频
export const Vedio= params => { return axios.get("/DataApi/GetCameraData", params).then(res => res.data);};

//获取食品安全相关知识列表
export const ConsumerTipsData= params => { return axios.get("/DataApi/GetConsumerTipsData", params).then(res => res.data);};

//获取某个食品安全相关知识详细内容
export const ConsumerTipsByUnid= params => { return axios.get("/DataApi/GetConsumerTipsByUnid", params).then(res => res.data);};

//根据企业标识获取企业相关信息
export const SingleEnterprise= params => { return axios.get("/DataApi/GetSingleEnterprise", params).then(res => res.data);};

//根据企业标识获取企业检查次数
export const SingleEnterpriseCheckNumber= params => { return axios.get("/DataApi/GetSingleEnterpriseCheckNumber", params).then(res => res.data);};

//根据企业标识获取人员列表数据
export const EnterprisePersonData= params => { return axios.get("/DataApi/GetEnterprisePersonData", params).then(res => res.data);};

//根据企业标识获取食品添加剂使用公示数据
export const FoodAdditivesData= params => { return axios.get("/DataApi/GetFoodAdditivesData", params).then(res => res.data);};
